home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 19.zip
/
BS1 part 19
/
PD 3.adf
/
Drw
/
drw.doc
< prev
next >
Wrap
Text File
|
1986-11-20
|
8KB
|
153 lines
Some spotty documentation for the DRW program
Introduction:
DRW is a sonic spectrum editor. It allows you to paint a sonogram
using specialized 'brushes' and then synthesize the corresponding
audio waveform. The program presents you with a grey area where
time is on the x-axis, frequency (actually phase increment) is on the
y-axis and color represents the amplitude of the sinewave at that point
in time and phase. Sonograms may be loaded and stored, sound files
may be analyzed into sonograms and resulting sounds may be saved as
IFF 8SVX files. It allows you to play the sound (both channels) with the
mouse controlling frequency.
Caution:
This is an extremely quick and dirty program which reads the color
values directly off the screen. There is no 'UNDO'. Because it is
written in CSI Multi-forth, certain operations are slower than they
need to be. Filename handling may be unfriendly should you make a
typo or two. There are several other annoying things that I won't
mention.
The Screen:
The screen presents a 128 by 256 pixel drawing area, surmounted by
a color palette of 30 colors, ranging from grey(0) through blue, black,
red, orange and yellow(255). Beneath the palette is the control comb,
which selects various brushes and drawing options. On the right is a
pathetic pseudo-prop gadget which controls certain drawing characteristics.
The MODES:
There are several states into which the program may be put: all of them are
accessed via the keyboard buttons. They are:
T)op D)oodle S)ynth P)lay R)eset W)rite B)andpass I)input O)utput Q)uit
T)op mode: clears the screen to grey ( amplitude 0), then goes directly to
D)oodle mode.
D)oodle mode is the main drawing mode. It works with the comb to allow
the sonogram to be drawn. To use the comb, you click on one of the tines.
A user-unfriendly 4 letter mnemonic appears on the right of the screen,
along with its corresponding number .
Here are the various options which this enables:
1) Dot A dot of the selected color is continuously dropped on
the screen while the left mouse button is depressed.
2) Line A continuous line is drawn while the button is down. Note that
the line cannot be drawn from right to left.. to encourage
'proper temporal flow'.
3) Ramp A line at this frequency is 'ramped' up to the selected color,
and then ramped down. The rate of ramping is controlled by the
phony prop gadget. The ramp is summed into the color on the
screen.
4) Thin A thin Rectangle is deposited, much as a dot is.
5) Blob A rather fat rectangle is deposited.
6) Harm A ramp in the suitable color and rate is summed into the screen
at harmonics determined by the current Frequency space settings.
The Pointer represents the eighth harmonic. Only writes forward,
and connects points continuously. This is is admittedly slower than
it could be. Harm can be used to create a harmonic framework for
subsequent alterations.
7) Avg Averages a few pixels before and after the pointer for this
frequency.
8) R-Dn Ramps down from the color under the pointer, using the rate from
the prop gadget.
9) R-Up Ramps up (backwards) from the pointer position, like ramp down.
10) Fill Fills this frequency with this color, until it hits a color
differing from that under the pointer.
11) Fil2 Tries to do a ramp-fill up to the selected color to the colors
at the edges. Doesn't work.
12) Inc Adds one to the spot under the pointer. GOes forward.
13) Dec Decrements this spot by one.
14) Xcld Excludes all but harmonics at this time period. The pointer
represents the eighth harmonic.
15) -Cut removes all colors quieter than the current one from the
sonogram. Nice for cleaning BPFs.
16) Inc0 Increments if there is a non-grey color under the pointer. For
making soft areas louder.
17) Dec0 Decrement, but not down to grey - just to green.
18) From sets the 'from' point for a Copy. You must click the left button.
19) To sets the 'to' spot for a copy.
20) Copy Copies 'pantograph'-style for those of you who remember Images,
based on the 'from area' going to the 'to' area.
21) .21. nothing
22) AMmd Puts some AM sin-waves on the screen as raw material.
23) CpFr Copies a frequency line to new Mouse's freq. Uses From.
24) CpTm Copies a time slot to new Mouse's slot. ditto.
25) Lck1 Puts a lock on every frequency. A harmonic lock crudely constrains
certain brushes from being positioned anywhere but on the nth line.
Allows stable harmonic timbres to be easily created for use
as loops.
26) Lck2 Locks even lines.
27) Lck4 Locks every 4th line.
28) Lck8 Locks every 8th line.
29) Vl00 restores original amplitude boost.
30) Vl01 doubles amplitude when Synthing the sample.
S)ynth zero's the sound area and then creates the waveform by additive
synthesis. You may cut the sound short by typing 'P' to go directly to
play mode. This may be slow at times, but it depends on the current
time and frequency settings. Technicians will note that I am using
fixed point arithmetic and a custom sin-lookup table to make this
calculation.
P) Play plays the sound area. Moving the mouse vertically changes the
Amiga 'period' (i.e. frequency.)
The following modes require some names and1 , \ 50
41CE , 427A , 4326 , 43D1 , 447B , 4524 , 45CD , 4675 , \ 58
471D , 47C4 , 486A , 490F , 49B4 , 4A58 , 4AFB , 4B9E , \ 60
4C40 , 4CE1 , 4D81 , 4E21 , 4EC0 , 4F5E , 4FFB , 5098 , \ 68
5134 , 51CF , 5269 , 5303 , 539B , 5433 , 54CA , 5560 , \ 70
55F6 , 568A , 571E , 57B1 , 5843 , 58D4 , 5964 , 59F4 , \ 78
5A82 , 5B10 , 5B9D , 5C29 , 5CB4 , 5D3E , 5DC8 , 5E50 , \ 80
5ED7 , 5F5E , 5FE4 , 6068 , 60EC , 616F , 61F1 , 6272 , \ 88
62F2 , 6371 , 63EF , 646C , 64E9 , 6564 , 65DE , 6657 , \ 90
66D0 , 6747 , 67BD , 6832 , 68A7 , 691A , 698C , 69FD , \ 98
6A6E , 6ADD , 6B4B , 6BB8 , 6C24 , 6C8F , 6CF9 , 6D62 , \ A0
6DCA , 6E31 , 6E97 , 6EFB , 6F5F , 6FC2 , 7023 , 7083 , \ A8
70E3 , 7141 , 719E , 71FA , 7255 , 72AF , 7308 , 735F , \ B0
73B6 , 740B , 7460 , 74B3 , 7505 , 7556 , 75A6 , 75F4 , \ B8
7642 , 768E , 76D9 , 7723 , 776C , 77B4 , 77FB , 7840 , \ C0
7885 , 78C8 , 790A , 794A , 798A , 79C9 , 7A06 , 7A42 , \ C8
7A7D , 7AB7 , 7AEF , 7B27 , 7B5D , 7B92 , 7BC6 , 7BF9 , \ D0
7C2A , 7C5A , 7C89 , 7CB7 , 7CE4 , 7D0F , 7D3A , 7D63 , \ D8
7D8A , 7DB1 , 7DD6 , 7DFB , 7E1E , 7E3F , 7E60 , 7E7F , \ E0
7E9D , 7EBA , 7ED6 , 7EF0 , 7F0A , 7F22 , 7F38 , 7F4E , \ E8
7F62 , 7F75 , 7F87 , 7F98 , 7FA7 , 7FB5 , 7FC2 , 7FCE , \ F0
7FD9 , 7FE2 , 7FEA , 7FF1 , 7FF6 , 7FFA , 7FFE , 7FFF , \ F8
8000 , 7FFF , 7FFE , 7FFA , 7FF6 , 7FF1 , 7FEA , 7FE2 , \ 100
7FD9 , 7FCE , 7FC2 , 7FB5 , 7FA7 , 7F98 , 7F87 , 7F75 , \ 108
7F62 , 7F4E , 7F38 , 7F22 , 7F0A , 7EF0 , 7ED6 , 7EBA , \ 110
7E9D , 7E7F , 7E60 , 7E3F , 7E1E , 7DFB , 7DD6 , 7DB1 , \ 118
7D8A , 7D63 , 7D3A , 7D0F , 7CE4 , 7CB7 , 7C89 , 7C5A , \ 120
7C2A , 7BF9 , 7BC6 , 7B92 , 7B5D , 7B27 , 7AEF , 7AB7 , \ 128
7A7D , 7A42 , 7A06 , 79C9 , 798A , 794A , 790A , 78C8 , \ 130
7885 , 7840 , 77FB , 77B4 , 776C , 7723 , 76D9 , 768E , \ 138
7642 , 75F4 , 75A6 , 7556 , 7505 , 74B3 , 7460 , 740B , \ 140
73B6 , 735F , 7308 , 72AF , 7255 , 71FA , 719E , 7141 , \ 148
70E3 , 7083 , 7023 , 6FC2 , 6F5F , 6EFB , 6E97 , 6E31 , \ 150
6DCA , 6D62 , 6CF9 , 6C8F , 6C24 , 6BB8 , 6B4B , 6ADD , \ 158
6A6E , 69FD , 698C , 691A , 68A7 , 6832 , 67BD , 6747 , \ 160
66D0 , 6657 , 65DE , 6564 , 64E9 , 646C , 63EF , 6371 , \ 168
62F2 , 6272 , 61F1 , 616F , 60EC , 6068 , 5FE4 , 5F5E , \ 170
5ED7 , 5E50 , 5DC8 , 5D3E , 5CB4 , 5C29 , 5B9D , 5B10 , \ 178
5A82 , 59F4 , 5964 , 58D4 , 5843 , 57B1 , 571E , 568A , \ 180
55F6 , 5560 , 54CA , 5433 , 539B , 5303 , 5269 , 51CF , \ 188
5134 , 5098 , 4FFB , 4F5E , 4EC0 , 4E21 , 4D81 , 4CE1 , \ 190
4C40 , 4B9E , 4AFB , 4A58 , 49B4 , 490F , 486A , 47C4 , \ 198
471D , 4675 , 45CD , 4524 , 447B , 43D1 , 4326 , 427A , \ 1A0
41CE , 4121 , 4074 , 3FC6 , 3F17 , 3E68 , 3DB8 , 3D08 , \ 1A8
3C57 , 3BA5 , 3AF3 , 3A40 , 398D , 38D9 , 3825 , 3770 , \ 1B0
36BA , 3604 , 354E , 3497 , 33DF , 3327 , 326E , 31B5 , \ 1B8
30FC , 3042 , 2F87 , 2ECC , 2E11 ,